/**
 * 基本形状
 */
function Shape() {
	this.base = Component;
	this.base(document.createElement('v:shape'));
	this.setID('Shape' + G.canvas.getID());
	this.setPosition('absolute');
	this.setLeft(0);
	this.setTop(0);
	this.setZIndex(G.canvas.getZIndex());
	this.getUI().fillcolor = '#666633';
	this.getUI().filled = 't';
	this.getUI().strokecolor = '#666633';
	this.getUI().strokewidth = '1px';
	this.setCoordsize('100, 100');
	this.getUI().style.width = '100';
	this.getUI().style.height = '100';
};
Shape.prototype = new Component();

Shape.prototype.toString = function() {
	return '[Compent Shape]';
};
Shape.prototype.setPath = function(path) {
	this.getUI().path = path;
};
Shape.prototype.getPath = function() {
	return this.getUI().path;
};
Shape.prototype.setCoordsize = function(coordsize) {
	this.getUI().coordsize = coordsize;
};
Shape.prototype.getCoordsize = function() {
	return this.getUI().coordsize;
};
Shape.prototype.setLeftTop = function (left, top) {
	this.setLeft(left);
	this.setTop(top);
};
